<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>CMDB-编辑公司</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="${path}/sys/company_management/add_company.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/js/user_js.js"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="edit_company.js"></script>
</head>
<body>
<div class="content_condition oneContent">
	<input id="cmpId" type="hidden" value=${sysCompanyList[0].cmpId} />
    <div class="content_group">
        <div class="span5">
            <label class="control-label">公司名称:</label>
            <div class="controls">
                <input id="cmpName" type="text" name="cmpName" value=${sysCompanyList[0].cmpName} />
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    <div class="content_group">
        <div class="span5">
            <label class="control-label">公司地址:</label>
            <div class="controls">
                <input id="cmpAddress" type="text" name="cmpAddress" value=${sysCompanyList[0].cmpAddress} />
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    
    <div class="content_group">
        <div class="span5">
            <label class="control-label">公司状态:</label>
            <div class="controls">
                <select id="state" name="state" value=${sysCompanyList[0].state} >
                    <c:if test="${sysCompanyList[0].state=='9ab'}"> 
					<option>关闭</option>
                    <option>启用</option>
					</c:if>
					<c:if test="${sysCompanyList[0].state=='9aa'}"> 
					<option>启用</option>
                    <option>关闭</option>
					</c:if>
                </select>
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    
    <div class="content_group">
        <div class="span5">
            <label class="control-label">公司全名:</label>
            <div class="controls">
                <input id="cmpFullName" type="text" name="cmpFullName" value="${sysCompanyList[0].cmpFullName}" />
            </div>
        </div>
    </div>
    
     <div class="last_group">
        <div class="span5">
            <label class="control-label">备注:</label>
            <div class="controls">
                <textarea id="remark" name="remark" >${sysCompanyList[0].remark}</textarea>
            </div>
        </div>
    </div>
    
   
</div>
<div class="btn_bottom">
    <div class="spanbtn">
        <button class="press_btn1 Keep"><i class="save top_current"></i>保存</button>
        <button class="press_btn2 Close"><i class="del top_current"></i>关闭</button>
    </div>
</div>

</body>
<script type="text/javascript">

</script>
</html>